<%@ Page Language="c#" AutoEventWireup="false" Src="Chapter10Login.aspx.vb"
Inherits="ASPAuthors.aspnetbyexample.ch10.Chapter10Login" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title></title>
<meta content="Microsoft Visual Studio.NET 7.0" name="GENERATOR">
<meta content="Visual Basic 7.0" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
</HEAD>
<body bgColor="#ffffff">
<form id="frmChapter9Login" method="post" runat="server">
<P>
<STRONG><FONT face="Verdana" color="#000099" size="5"><EM>Chapter 10: Applications</EM></FONT></STRONG>
<BR>
<asp:label id="lblSessionID" runat="server" Font-Size="XX-Small" Font-Names="Verdana" Height="19px" Width="473px" ForeColor="RoyalBlue" Font-Italic="True" ToolTip="This ID was issued by the server to maintain state during a client's session. " Font-Bold="True">Your SessionID:
</asp:label>
</P>
<P>
<asp:label id="lblMessage" runat="server" BackColor="White" Font-Size="Smaller" Font-Names="Verdana" Height="28px" Width="502px"></asp:label>
</P>
<FONT face="Verdana" size="2">
<DIV>
<TABLE cellSpacing="1" cellPadding="1" width="100%" border="1" bgColor="#003399">
<TR>
<TD style="WIDTH: 116px" align="left">
<FONT size="2"><STRONG><FONT color="red">*</FONT><FONT color="#ffffff">Name:</FONT></STRONG></FONT>
</TD>
<TD align="left">
<asp:textbox id="txtName" runat="server" Height="24px" Width="187px" MaxLength="25" ForeColor="SteelBlue" Font-Bold="True" ToolTip="In order to gain access to the chapter text you'll need the user names and passwords that appear in the book."></asp:textbox>
</TD>
</TR>
<TR>
<TD style="WIDTH: 116px" align="left">
<FONT face="Verdana" size="2"><STRONG><FONT color="red">*</FONT><FONT color="#ffffff">Password:</FONT></STRONG></FONT>
</TD>
<TD align="left">
<asp:textbox id="txtPass" runat="server" Height="24px" Width="188px" MaxLength="25" ForeColor="SteelBlue" Font-Bold="True" ToolTip="In order to gain access to the chapter text you'll need the user names and passwords that appear in the book."></asp:textbox>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
</DIV>
<DIV>
</DIV>
<DIV>
<FONT color="red" size="1"><STRONG>* <FONT color="black">Select One:</FONT></STRONG></FONT>
</FONT><FONT face="Verdana" size="2"><FONT size="1"></FONT></FONT></DIV>
<DIV>
<asp:radiobutton id="btnYes" runat="server" Height="11px" Width="75px" GroupName="yesnocookie" AutoPostBack="True"></asp:radiobutton>
<FONT face="Verdana" color="#000099" size="2">Yes! I'd love to see a cookie in
action.</FONT>
</DIV>
<DIV>
<asp:radiobutton id="btnNo" runat="server" Height="20px" Width="76px" GroupName="yesnocookie" AutoPostBack="True" EnableViewState="False"></asp:radiobutton>
<FONT face="Verdana" color="#000099" size="2">No thank you, cookies are for chumps.</FONT>
</DIV>
<DIV>
<FONT face="Verdana" size="2">
</DIV>
<DIV>
<asp:label id="lblCookie" runat="server" Height="16px" Width="171px" ForeColor="ForestGreen" Visible="False" Font-Italic="True" ToolTip="These labels and their input boxes are hidden until a btnYes_CheckedChanged is fired">Enter something childish: </asp:label>
<asp:textbox id="txtCookie" runat="server" MaxLength="9" AutoPostBack="True" Visible="False"></asp:textbox>
<BR>
<asp:Label id="lblCookie2" runat="server" Font-Italic="True" ForeColor="Green" Width="177px" Height="16px" Font-Names="Verdana" Visible="False" ToolTip="These labels and their input boxes are hidden until a btnYes_CheckedChanged is fired">Enter something
mature:</asp:Label>
<asp:TextBox id="txtCookie2" runat="server" Width="156px" Height="25px" Visible="False" MaxLength="9"></asp:TextBox>
<BR>
<asp:button id="cmdLogin" runat="server" BackColor="Control" Height="24px" Width="187px" Font-Bold="True" Enabled="False" Text="Login" ToolTip="This login button will become active once the appropriate information is entered. "></asp:button>
</DIV>
<DIV>
</DIV>
<DIV>
</DIV>
<DIV>
</DIV>
<DIV>
</DIV>
</FONT>
<DIV>
</DIV>
<DIV align="center">
</DIV>
<DIV align="center">
</DIV>
</form>
</body>
</HTML>